import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { WorkplaceListComponent } from 'app/routes/workplace/list/workplace.component';
import { WillSendListComponent } from './willsend/willsend-list.component';
import { DeliveryCancelComponent } from 'app/routes/workplace/deliverycancel/delivery-cancel.component';


const routes: Routes = [
  { 
    path: 'list', 
    children: [
      { path: '', component: WorkplaceListComponent },
      { path: 'willsend', component: WillSendListComponent },
      { path: 'deliverycancel', component: DeliveryCancelComponent }
    ] 
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class WorkplaceRoutingModule { }
